package com.diankangwo.factory.service;

import com.diankangwo.factory.entity.TdCommodityCategory;

import java.util.List;

public interface TdCommodityCategoryService {

    /**
     * 添加
     */
    void save(TdCommodityCategory tdCommodityCategory);

    /**
     * 普通删除
     */
    void deleteByCommodityId(int id);

    List<TdCommodityCategory> selectByCommodityId(Integer commodityId);

    int deleteByCategoryId(Integer id);
}
